using System.Xml.Serialization;

namespace Commons.Models.Settings.Dtos.Functions
{
	public class FunctionDto
	{
		[XmlElement(ElementName = "constant", Namespace = "http://www.ibeltran.com/schema/game/function")]
		public ConstantDto Constant { get; set; }

		[XmlElement(ElementName = "step", Namespace = "http://www.ibeltran.com/schema/game/function")]
		public StepDto Step { get; set; }

		[XmlElement(ElementName = "linear", Namespace = "http://www.ibeltran.com/schema/game/function")]
		public LinearDto Linear { get; set; }

		[XmlElement(ElementName = "polynomial", Namespace = "http://www.ibeltran.com/schema/game/function")]
		public PolynomialDto Polynomial { get; set; }

		[XmlElement(ElementName = "piecewise", Namespace = "http://www.ibeltran.com/schema/game/function")]
		public PiecewiseDto Piecewise { get; set; }
	}
}

